//
//  EmptyView.h
//  ScmProject
//
//  Created by 董雷 on 2020/4/30.
//  Copyright © 2020 session. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface EmptyView : UIView

/// 使用默认的空数据视图
+ (instancetype)emptyView;

/// 传入图片及信息来自定义空数据视图
/// @param image 图片名
/// @param message 信息内容
+ (instancetype)emptyViewWithImageView:(NSString *)image message:(NSString *)message;

@property (weak, nonatomic) IBOutlet UIImageView *imageView;

@property (weak, nonatomic) IBOutlet UILabel *infoLabel;

@property (weak, nonatomic) IBOutlet UIButton *actionBtn;

@property(copy,nonatomic,nullable)dispatch_block_t actionBlcok;

@end

NS_ASSUME_NONNULL_END
